package uscdb.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@Table(name = "tproblem")
@DynamicInsert(true)
@DynamicUpdate(true)
public class Tproblem implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1541712807030274897L;

	private String id;
	/**
	 * 局点名字
	 */
	private String bureauName;
	/**
	 * 操作类型：新建、割接、磁针扩容、升级
	 */
	private String operationType;
	/**
	 * 保障PM
	 */
	private String safeguardPM;
	/**
	 * 问题来源
	 */
	private String source;
	/**
	 * 问题描述
	 */
	private String description;
	/**
	 * 问题单号
	 */
	private String dtsNumber;
	/**
	 * 问题影响
	 */
	private String influence;
	/**
	 * 解决进展
	 */
	private String solveProgress;
	/**
	 * 解决措施或者方案
	 */
	private String solvePlan;
	/**
	 * 问题根因
	 */
	private String rootCause;
	/**
	 * 责任人
	 */
	private String responsiblyPersion;
	/**
	 * 开发定位人员
	 */
	private String developer;
	/**
	 * 测试跟踪人员
	 */
	private String tester;
	/**
	 * 优先级
	 */
	private String priority;
	/**
	 * 提出时间
	 */
	private String raiseTime;

	/**
	 * 期望解决时间
	 */
	private String solveTime;
	/**
	 * 关闭时间
	 */
	private String closedTime;
	/**
	 * 状态：Closed Open
	 */
	private String state;
	/**
	 * 组网类型，我理解为环境类型
	 */
	private String environmentType;
	/**
	 * 当前版本
	 */
	private String currentVersion;
	/**
	 * 目标版本
	 */
	private String targetVersion;

	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 36)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "bureauName", length = 100)
	public String getBureauName() {
		return bureauName;
	}

	public void setBureauName(String bureauName) {
		this.bureauName = bureauName;
	}

	@Column(name = "operationType", length = 50)
	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	@Column(name = "safeguardPM", length = 50)
	public String getSafeguardPM() {
		return safeguardPM;
	}

	public void setSafeguardPM(String safeguardPM) {
		this.safeguardPM = safeguardPM;
	}

	@Column(name = "source", length = 50)
	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	@Column(name = "description", length = 1000)
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "dtsNumber", length = 50)
	public String getDtsNumber() {
		return dtsNumber;
	}

	public void setDtsNumber(String dtsNumber) {
		this.dtsNumber = dtsNumber;
	}

	@Column(name = "influence", length = 1000)
	public String getInfluence() {
		return influence;
	}

	public void setInfluence(String influence) {
		this.influence = influence;
	}

	@Column(name = "solveProgress", length = 1000)
	public String getSolveProgress() {
		return solveProgress;
	}

	public void setSolveProgress(String solveProgress) {
		this.solveProgress = solveProgress;
	}

	@Column(name = "solvePlan", length = 1000)
	public String getSolvePlan() {
		return solvePlan;
	}

	public void setSolvePlan(String solvePlan) {
		this.solvePlan = solvePlan;
	}

	@Column(name = "rootCause", length = 1000)
	public String getRootCause() {
		return rootCause;
	}

	public void setRootCause(String rootCause) {
		this.rootCause = rootCause;
	}

	@Column(name = "responsiblyPersion", length = 20)
	public String getResponsiblyPersion() {
		return responsiblyPersion;
	}

	public void setResponsiblyPersion(String responsiblyPersion) {
		this.responsiblyPersion = responsiblyPersion;
	}

	@Column(name = "developer", length = 20)
	public String getDeveloper() {
		return developer;
	}

	public void setDeveloper(String developer) {
		this.developer = developer;
	}

	@Column(name = "tester", length = 20)
	public String getTester() {
		return tester;
	}

	public void setTester(String tester) {
		this.tester = tester;
	}

	@Column(name = "priority", length = 20)
	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	@Column(name = "raiseTime", length = 20)
	public String getRaiseTime() {
		return raiseTime;
	}

	public void setRaiseTime(String raiseTime) {
		this.raiseTime = raiseTime;
	}

	@Column(name = "solveTime", length = 20)
	public String getSolveTime() {
		return solveTime;
	}

	public void setSolveTime(String solveTime) {
		this.solveTime = solveTime;
	}

	@Column(name = "closedTime", length = 20)
	public String getClosedTime() {
		return closedTime;
	}

	public void setClosedTime(String closedTime) {
		this.closedTime = closedTime;
	}

	@Column(name = "state", length = 20)
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "environmentType", length = 50)
	public String getEnvironmentType() {
		return environmentType;
	}

	public void setEnvironmentType(String environmentType) {
		this.environmentType = environmentType;
	}

	@Column(name = "currentVersion", length = 50)
	public String getCurrentVersion() {
		return currentVersion;
	}

	public void setCurrentVersion(String currentVersion) {
		this.currentVersion = currentVersion;
	}

	@Column(name = "targetVersion", length = 50)
	public String getTargetVersion() {
		return targetVersion;
	}

	public void setTargetVersion(String targetVersion) {
		this.targetVersion = targetVersion;
	}

}
